import { useDispatch} from "react-redux";
import store from "@/store";
type TDispatch = typeof store.dispatch;
export const useAppDispatch =()=>useDispatch<TDispatch>();